package day12.task;

import javax.xml.crypto.dsig.Transform;
import java.util.Scanner;

public class TaskFour {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        String a=sc.next();
        DataTransForm.transForm(a);
    }
}
class DataTransForm{
    public static void transForm(String a){
        int num=0;
        try{
            num=Integer.parseInt(a);
        }catch(NumberFormatException e){
            System.out.println("数据类型不匹配");
        }catch (Exception e) {
            System.out.println("发生异常");
        }
        System.out.println(num);
    }
}
